[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 INTEGER   Type

 Function
  Declare one or more variables of type integer.

 Syntax
  INTEGER var|arr(s[,s[,s]])[,var|arr(s[,s[,s]])]

  var  - The name of a variable to declare.  Must start with a letter
         [A-Z] which may be followed by letters, digits [0-9] or the
         underscore [_].  May be of any length but only the first 32
         characters are used.
  arr  - The name of an array variable to declare.  The same naming
         conventions as var are used.
  s    - The size (0-based) of an array variable dimension.  Any
         constant integer expression is allowed.

 Remarks
  INTEGER variables are stored as four byte signed long integers.  The
  range of an INTEGER is -2,147,483,648 - +2,147,483,647.  An INTEGER
  assignment to a STRING will result in a string with the representation
  of the number (similar to BASIC's STR$ function and C's ltoa function).
  A STRING to INTEGER assignment will convert the string back to the four
  byte binary integer value (similar to BASIC's VAL function and C's atol
  function).  If an INTEGER is assigned to or from any other type, an
  appropriate conversion is performed automatically by PPL.

 Examples
  INTEGER i, year, cardDeck(4*13), matrix(2,2), matrices(3,4,5)

See Also: BOOLEAN DATE MONEY STRING TIME
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson